package com.ljtxxhwj.myblob.service;

import com.ljtxxhwj.myblob.entity.FavoriteFolder;

import java.util.List;

public interface FavoriteFolderService {
    // 根据收藏夹名称查询收藏夹
    FavoriteFolder getFavoriteFolderByName(String favoriteFolderName);

    // 插入一个新的收藏夹
    void addFavoriteFolder(FavoriteFolder favoriteFolder);

    // 更新收藏夹名称
    void updateFavoriteFolderName(Integer favoriteFolderId, String newFavoriteFolderName);

    // 根据收藏夹ID删除收藏夹
    void deleteFavoriteFolderById(Integer favoriteFolderId);

    // 查询所有收藏夹
    List<FavoriteFolder> getAllFavoriteFolders();
}